package com.momoc.mrpc.annotation;

import com.momoc.mrpc.MRpcScanningImport;
import com.momoc.mrpc.config.MRpcConfig;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;

/**
 * @author momoc
 * @version 1.0
 * @className EnabledMRpc
 * @description 启动注解
 * @date 2022/7/25 2:11 下午
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
@Import({MRpcScanningImport.class})
public @interface EnabledMRpc {

    //扫描注解的路径
    String[] baseScans() default {};
}
